package cn.bone.cloud.compute.ribbon.web;

import cn.bone.cloud.compute.ribbon.service.ConsumerService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by Administrator on 2017/11/2.
 */
@RestController
public class ConsumerController {

    @Resource
    private ConsumerService consumerService;

    @RequestMapping("/add")
    public String add(){
        return consumerService.addService();
    }
}
